package com.heima.media.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.common.dto.ResponseResult;
import com.heima.media.dto.ChannelDto;
import com.heima.media.entity.WmChannel;

public interface IWmChannelService extends IService<WmChannel> {
    ResponseResult listByName(ChannelDto dto);

    ResponseResult saveChannel(WmChannel entity);

    ResponseResult updateChannel(WmChannel channel);

    ResponseResult deleteChannelById(Integer channelId);
    void updateChannels(WmChannel channel);

    void deleteChannel(Integer id);



    //public WmChannel getById(Integer id);

    //继承 IService  具备所有CRUD方法
}
